class TabStorage {
    setTab(tab: string) {
        localStorage.setItem('tabList', tab)
    }
    getTab() {
        return JSON.parse(localStorage.getItem('tabList')) || []

    }
    clearTab() {
        localStorage.removeItem('tabList')
    }
}


export default new TabStorage()